#ifndef RECORDFORM_H
#define RECORDFORM_H

#include <QWidget>
#include <QStandardItemModel>
#include <QFileDialog>
#include <QTextEdit>
#include <QAxObject>
#include <QWidget>
#include <QtCharts/QPieSeries>
#include <QScatterSeries>
#include <QMessageBox>
#include <QtCharts>
#include <QtCharts/QChartView>
#include <QtCharts/QChart>
#include <QtCharts/QLegend>
#include <QtCharts/QPieSeries>
#include <QtCharts/QPieSlice>
#include <QtCore/QTime>
#include <QtWidgets/QGridLayout>
#include <QtCharts/QScatterSeries>
#include "utils/SerialUtil.h"
#include <QStandardItemModel>
#include <QDateTime>

namespace Ui {
class RecordForm;
}

QT_CHARTS_USE_NAMESPACE
class RecordForm : public QWidget
{
    Q_OBJECT

public:
    explicit RecordForm(QWidget *parent = nullptr);
    ~RecordForm();
    void init_tableview();
    void init_data();
    void add_design(QString _CourseAngle_fy,QString _PitchAngle_fy,QString zgcd);
    void add_sgqx(QString _CourseAngle_fy,QString _PitchAngle_fy,QString zgcd);

private slots:
    void on_pushButton_2_clicked();
    void on_pushButton_3_clicked();

    void on_pushButton_5_clicked();

private:
    Ui::RecordForm *ui;
    QStandardItemModel *m_tableModel_design = NULL;
    QStandardItemModel *m_tableModel  = NULL;

};

#endif // RECORDFORM_H
